{% extends "::base.html.twig" %}

{% block stylesheets %}
    {{ parent() }}
    <link href="{{ asset('bundles/zkinterface/css/jquery.ZkMultiSelectWidget.css') }}" rel="stylesheet"/>
{% endblock %}

{% block javascripts %}
    {{ parent() }}
    <script src="{{ asset('bundles/zkinterface/js/jquery.ZkMultiSelectWidget.js') }}"></script>
{% endblock %}

{% block sf_content %}
<div class="row">
<div class="span10 offset1">
    
<form class="form-horizontal well well-large row-shadow"
      action="{{ path('zk_admin_user_edit',{'id':user.id}) }}"
      method="post" {{ form_enctype(form) }}>
    
    <p id="flash"></p>

    <legend>
    {% trans with {} from 'FOSUserBundle' %}form.user{% endtrans %}&nbsp;&nbsp;
    {{ user.name }}&nbsp;&nbsp;(&nbsp; {{ user.email }}&nbsp;)
    </legend>
    
    {{ form_widget(form, {'form_type': 'horizontal'}) }}

    <div class="control-group">
        <label class="required control-label"></label>
        <div class="controls">
            <button type="submit" class="btn btn-primary">{{ 'Save'|trans }}</button>
        </div>
    </div>
    
</form>

</div>
</div>

{% endblock sf_content %}
